/*******************************************************************************
 * Copyright (c) 2013 Dennis Fischer.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the GNU Public License v3.0+
 * which accompanies this distribution, and is available at
 * http://www.gnu.org/licenses/gpl.html
 * 
 * Contributors: Dennis Fischer
 ******************************************************************************/
package org.chaosfisch.util;

public class ThreadUtil {

	public static void doInBackground(final Runnable runnable) {
		final Thread thread = new Thread(runnable, "BackgroundThread");
		thread.setDaemon(true);
		thread.start();
	}
}
